export interface SysUser {
  id: string
  username: string
  password: string
  nickname: string
  photo: string
  intro: string
  salt: string
  roles: SysRole[]
  /** 上传 */
  roleIds: string[]
}

export interface SysRole {
  id: string
  role: string
  pid: string
  desc: string
  child: SysRole[]
  permissions: SysPermission[]
  menuIds?: string[]
}

export interface SysPermission {
  id: string
  per: string
  url: string
  method: string
  spec: string
}
